Understanding Distributed Systems by Roberto Vitillo

Understanding Distributed Systems by Roberto Vitillo

Author:Roberto Vitillo
Language: eng
Format: epub


Because there are so many different ways to implement channels, in the rest of this section we will make some assumptions for the sake of simplicity:

Channels are point-to-point and support an arbitrary number of producers and consumers.

Messages are delivered to consumers at-least-once.

While a consumer is processing a message, the message remains persisted in the channel, but other consumers can’t read it for the duration of a visibility timeout. The visibility timeout guarantees that if the consumer crashes while processing the message, the message will become visible to other consumers again when the timeout triggers. When the consumer is done processing the message, it deletes it from the channel preventing it from being received by any other consumer in the future.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.